package exodia;

/**
 * ModGames (C) 2007 Pedro Miller Rabinovitch.
 * 
 * Permission is hereby granted to copy and use this material for any free or educational purpose.
 * Please do not use this for commercial purposes before letting me know (but it'll be fine).
 * 
 * Contact me via gmail, account pedromr
 * http://exodia.org
 * 
 * $Id: ActorDefinition.java 41 2007-12-04 00:57:21Z pedromr $
 */

/**
 * @author Miller
 * Defines actor behaviour, including animation collections.
 */
public class ActorDefinition {
	public AnimDefinition arrAnimations[];
	public int	arrTransforms[];
	
	public ActorDefinition( int nAnims ) {
		arrAnimations = new AnimDefinition[nAnims];
		arrTransforms = new int[nAnims];
	}

	public void setAnim(int which, AnimDefinition animDef, int transform) {
		arrAnimations[which] = animDef;
		arrTransforms[which] = transform;
	}
}
